<?php

$config = require(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'common_config.php');
$database = array(
    'cache' => array(
        'class' => 'CMemCache',
        'servers' => array(
            array(
                'host' => '10.171.241.96',
                'port' => 11211,
                'weight' => 70,
            ),
            array(
                'host' => '10.168.184.117',
                'port' => 11211,
                'weight' => 30,
            ),
        ),
    ),
    'db' => array(
        'connectionString' => "mysql:host=rdsiruznvrmvuiq.mysql.rds.aliyuncs.com;dbname=yzw",
        'emulatePrepare' => true,
        'username' => 'yzwfight',
        'password' => 'LISHED20132015masonYANG',
        'charset' => 'utf8',
        'tablePrefix' => 'tk_',
    ),
);
$config['components'] = CMap::mergeArray($config['components'], $database);
return $config;
